﻿<!DOCTYPE html>
<html>
<head>
    <title>文章信息表</title>
	<#include "/header.html">
</head>
<body>
<style>
    th{
        text-align: center;
    }
</style>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div style="float: left">
            <input style="width: 120px" type="text" class="form-control" v-model="q.weixinNickname" @keyup.enter="query" placeholder="来源">
        </div>
        <p style="float: left">&nbsp;</p>
        <div style="float: left">
            <input style="width: 120px" type="text" class="form-control" v-model="q.articleTitle" @keyup.enter="query" placeholder="标题">
        </div>
        <p style="float: left">&nbsp;</p>
        <div style="float: left">
            <input style="width: 120px" class="form-control" list="brandName" placeholder="品牌/分类" id="brandNames">
            <datalist id="brandName" style="line-height: 10px">

            </datalist>
        </div>
        <p style="float: left">&nbsp;</p>
        <a class="btn btn-default" @click="query">查询</a>&nbsp;
        <a class="btn btn-default" @click="importHtml">导入文章到指定品牌</a>
        <a class="btn btn-default" @click="importHtmlAll">自动匹配品牌导入</a>
        <!--<div class="grid-btn">-->
			<!--<#if shiro.hasPermission("sys:pythonarticleinfo:save")>-->
            <!--<a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>-->
			<!--</#if>-->
			<!--<#if shiro.hasPermission("sys:pythonarticleinfo:update")>-->
            <!--<a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>-->
			<!--</#if>-->
			<!--<#if shiro.hasPermission("sys:pythonarticleinfo:delete")>-->
            <!--<a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>-->
			<!--</#if>-->
        <!--</div>-->
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
                    <div class="form-group">
                        <div class="col-sm-2 control-label">文章名称</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.articleTitle" placeholder="文章名称"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">文章类型ID</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.articleTypeId" placeholder="文章类型ID"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">文章缩略图</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.articleImgUrl" placeholder="文章缩略图"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">文章品牌ID</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.articleBrandId" placeholder="文章品牌ID"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">文章内容</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.articleContent" placeholder="文章内容"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">文章概述</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.articleDesc" placeholder="文章概述"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">生成文章的用户ID</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.userId" placeholder="生成文章的用户ID"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">文章来源 1-平台添加 2-用户通过公众号添加 3-用户编辑文章生成自己的文章</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.articleSource" placeholder="文章来源 1-平台添加 2-用户通过公众号添加 3-用户编辑文章生成自己的文章"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">文章状态 0-删除 1-正常</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.articleStatus" placeholder="文章状态 0-删除 1-正常"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">爬虫处理状态  0-未处理 1-已处理</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.spiderProcessStatus" placeholder="爬虫处理状态  0-未处理 1-已处理"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">第三方文章来源</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.thirdArticleSource" placeholder="第三方文章来源"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">第三方文章ID</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.thirdArticleId" placeholder="第三方文章ID"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">分享平台文章来源ID</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.shareArticleSourceId" placeholder="分享平台文章来源ID"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">首尾模板ID</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.htTemplateId" placeholder="首尾模板ID"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">用户插入的头部广告内容</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.headAdContent" placeholder="用户插入的头部广告内容"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">用户插入的尾部广告内容</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.tailAdContent" placeholder="用户插入的尾部广告内容"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">文章等级 默认为1，标识最低级别，数字越大，文章越优质</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.articleLevel" placeholder="文章等级 默认为1，标识最低级别，数字越大，文章越优质"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">文章是否推荐 0-不推荐 1-推荐</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.articleRecommendStatus" placeholder="文章是否推荐 0-不推荐 1-推荐"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">微信公众号文章发表时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.wxArticlePubTime" placeholder="微信公众号文章发表时间"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">创建时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.createTime" placeholder="创建时间"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">修改时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.modifyTime" placeholder="修改时间"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label"></div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="pythonarticleinfo.isHundle" placeholder=""/>
                        </div>
                    </div>
            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/sys/pythonarticleinfo.js?_${.now?long}"></script>
</body>
</html>